<!DOCTYPE html>
<html>
    <head>
        <title>测试</title>
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" charset="UTF-8"/>
            <style type="text/css">
                *{
                    margin:  0;
                    padding: 0;
                }
            .box{
                text-align: center;
            }
            .btn{
                line-height: 34px;
                text-align: center;
                font-size: 14px;
                border: 1px solid blue;
                background-color: #fff;
                margin-bottom: 20px;
                padding: 0 10px;
            }
            .message{
                position: fixed;
                bottom: 0;
                width: 100%;
                padding: 10px;
                font-size: 14px;
                color: #000;
            }
            </style>
        <script type="text/javascript" src="../js/autoQR.js"></script>

    </head>
    <body>
    <div class="box">
        <div class="message" id="message"></div>
        <button class="btn" id="J_APIMethod" onclick="backPrePageInfo()">返回上个页面信息</button>
        <br/>
        <button class="btn" id="J_APIMethod" onclick="backPrePage()">返回</button>
        <br/>
    </div>
    <script src="../js/HKNativeJSBridge.js"></script>

    <script>
        function backPrePageInfo() {

            let obj = {
                nextWindowInfo: "test post next window message 123 !!!"
            }
            
        }
        function backPrePage() {

            hkNativePage.closePage(null,function (message) {

            })
        }

    </script>


    </body>
</html>
